from celery_tasks.celery import cel
import time

@cel.task
def send_email(res):
    print("%s发送邮件任务"%res)
    time.sleep(1000)
    return "完成向%s发送邮件任务"%res
